﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SalesOneWeb.Master" CodeBehind="AddUserRoles.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.ManageUserRoles" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table class="style1">
<tr>
        <td class="style4">
            User Type</td>
        <td class="style2">
            <asp:DropDownList ID="ddlRoleType" runat="server" 
                onselectedindexchanged="ddlRoleType_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style4">
<asp:Label ID="Label1" runat="server" Text="Role Name"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtRole" runat="server" style="margin-left: 1px"></asp:TextBox>
        </td>
        <td class="style3">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtRole" Display="Dynamic" 
                ErrorMessage="Please select a role."></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    
    <tr>
        <td class="style4">
            &nbsp;</td>
        <td class="style2">
<asp:Button ID="btnCreateRole" runat="server" onclick="btnCreateRole_Click" 
    Text="Create Role" style="height: 26px" />
        </td>
        <td class="style3">
<asp:Button ID="btnCancel" runat="server"
    Text="Cancel" style="height: 26px" onclick="btnCancel_Click" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
</table>

    </asp:Content>
